// CompanyPage.cs
// Facebook/Framework/Service
// Copyright (c) 2007, Nikhil Kothari. All Rights Reserved.
//

using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using Facebook.Service.Core;

namespace Facebook.Service {

    /// <summary>
    /// The company information associated with a PresencePage.
    /// </summary>
    public sealed class CompanyPage : FacebookEntity {

        internal CompanyPage(Hashtable pageState)
            : base(pageState) {
        }

        /// <summary>
        /// The year that the company was founded in.
        /// </summary>
        public string Founded {
            get {
                return GetState<string>("founded") ?? String.Empty;
            }
        }

        /// <summary>
        /// The mission of the company.
        /// </summary>
        public string Mission {
            get {
                return GetState<string>("mission") ?? String.Empty;
            }
        }

        /// <summary>
        /// An overview of the company.
        /// </summary>
        public string Overview {
            get {
                return GetState<string>("company_overview") ?? String.Empty;
            }
        }

        /// <summary>
        /// The set of products offered by the company.
        /// </summary>
        public string Products {
            get {
                return GetState<string>("products") ?? String.Empty;
            }
        }

        /// <summary>
        /// The ticker symbol associated with the company.
        /// </summary>
        public string TickerSymbol {
            get {
                return GetState<string>("ticker_symbol") ?? String.Empty;
            }
        }
    }
}
